package com.ruoyi.financial.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆登记对象 f_car
 * 
 * @author xunzhe
 * @date 2024-03-10
 */
public class FCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long carId;

    /**  */
    @Excel(name = "")
    private Long deptId;

    /** 车型 */
    @Excel(name = "车型")
    private String carModel;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNumber;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColour;

    /** 发动机号 */
    @Excel(name = "发动机号")
    private String fadongji;

    /** 车架号 */
    @Excel(name = "车架号")
    private String chejiahao;

    /** 车辆排量 */
    @Excel(name = "车辆排量")
    private String pailiang;

    /** 购车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;

    /** 购车费用 */
    @Excel(name = "购车费用")
    private String purchasePrice;

    private String laiyuan;

    /** 停放位置 */
    @Excel(name = "停放位置")
    private String tingfangweizhi;

    /** 驾驶员姓名 */
    @Excel(name = "驾驶员姓名")
    private String jiashiyuan;

    /** 驾驶员身份证号 */
    @Excel(name = "驾驶员身份证号")
    private String jiashiyuanNumber;

    /** 保管责任人 */
    @Excel(name = "保管责任人")
    private String zerenren;

    private String deptName;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCarModel(String carModel) 
    {
        this.carModel = carModel;
    }

    public String getCarModel() 
    {
        return carModel;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setCarColour(String carColour) 
    {
        this.carColour = carColour;
    }

    public String getCarColour() 
    {
        return carColour;
    }
    public void setFadongji(String fadongji) 
    {
        this.fadongji = fadongji;
    }

    public String getFadongji() 
    {
        return fadongji;
    }
    public void setChejiahao(String chejiahao) 
    {
        this.chejiahao = chejiahao;
    }

    public String getChejiahao() 
    {
        return chejiahao;
    }
    public void setPailiang(String pailiang) 
    {
        this.pailiang = pailiang;
    }

    public String getPailiang() 
    {
        return pailiang;
    }
    public void setPurchaseTime(Date purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public Date getPurchaseTime() 
    {
        return purchaseTime;
    }
    public void setPurchasePrice(String purchasePrice)
    {
        this.purchasePrice = purchasePrice;
    }

    public String getPurchasePrice()
    {
        return purchasePrice;
    }
    public void setTingfangweizhi(String tingfangweizhi) 
    {
        this.tingfangweizhi = tingfangweizhi;
    }

    public String getTingfangweizhi() 
    {
        return tingfangweizhi;
    }
    public void setJiashiyuan(String jiashiyuan) 
    {
        this.jiashiyuan = jiashiyuan;
    }

    public String getJiashiyuan() 
    {
        return jiashiyuan;
    }
    public void setJiashiyuanNumber(String jiashiyuanNumber)
    {
        this.jiashiyuanNumber = jiashiyuanNumber;
    }

    public String getJiashiyuanNumber()
    {
        return jiashiyuanNumber;
    }
    public void setZerenren(String zerenren) 
    {
        this.zerenren = zerenren;
    }

    public String getZerenren() 
    {
        return zerenren;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getLaiyuan() {
        return laiyuan;
    }

    public void setLaiyuan(String laiyuan) {
        this.laiyuan = laiyuan;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("deptId", getDeptId())
            .append("carModel", getCarModel())
            .append("carNumber", getCarNumber())
            .append("carColour", getCarColour())
            .append("fadongji", getFadongji())
            .append("chejiahao", getChejiahao())
            .append("pailiang", getPailiang())
            .append("purchaseTime", getPurchaseTime())
            .append("purchasePrice", getPurchasePrice())
            .append("tingfangweizhi", getTingfangweizhi())
            .append("jiashiyuan", getJiashiyuan())
            .append("jiashiyuanNumber", getJiashiyuanNumber())
            .append("zerenren", getZerenren())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
